package com.zx.idc.backend.gui.slog.service;

import com.zx.idc.backend.gui.api.management.infosecurity.violationwebsite.management.service.IllegalWebService;
import com.zx.idc.ds.slog.entity.HandleEntity;
import com.zx.idc.ds.slog.service.ISlogIllegalSiteLogService;
import com.zx.idc.ds.slog.service.ISlogIllegalSiteService;
import com.zx.idc.ds.slog.vo.SlogIllegalSiteVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = false, rollbackFor = Exception.class)
public class SlogIllegalSiteInterfaceService {
    @Autowired
    private IllegalWebService illegalWebService;

    @Autowired
    private ISlogIllegalSiteService iSlogIllegalSiteService;

    @Autowired
    private ISlogIllegalSiteLogService iSlogIllegalSiteLogService;

    public Boolean reportData(HandleEntity<SlogIllegalSiteVo> handleEntity) {
        //上报接口
        illegalWebService.illegalWebReport(handleEntity);
        return true;
    }

}
